<div class="container">

<body>
    <h2>Digital Content</h2>    
		
<div class="row">


	<div class="col-lg-12">
	<hr>
		<h2>Digital contents</h2>
		<div class="table-responsive">
			<table class="table table-bordered table-hover table-striped">
				<thead>
					<tr>
						<th>product_id</th>
						<th>product_name_ar</th>
						<th>product_description_ar</th>
						<th>product_description_en</th>
						<th>product_name_en</th>
						<th>image</th>
						<th>minprice</th>
						<th>maxprice</th>
						<th>colour</th>
						<th>weight</th>
						<th>size</th>
						<th>legnth</th>
						<th>weidth</th>
						<th>minnumber</th>
						<th>maxnumber</th>
						<th>type</th>
						<th>category_id</th>
						<th>historical_description</th>
						<th>digital_content_id</th>
						
					</tr>
				</thead>
				<tbody>
			
			    <?php
				
                 foreach( $products  as $product)  {
			       // echo $digitalcontent->digital_content_id;
				?> 
				
				
					<tr class="active">
					    <td><?php if (isset($product->product_id)) echo htmlspecialchars($product->product_id, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($product->product_name_ar)) echo htmlspecialchars($product->product_name_ar, ENT_QUOTES, 'UTF-8'); ?></td>
		    		    <td><?php if (isset($product->product_description_ar)) echo htmlspecialchars($product->product_description_ar, ENT_QUOTES, 'UTF-8'); ?></td>
		    		    <td><?php if (isset($product->product_name_en)) echo htmlspecialchars($product->product_name_en, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($product->image)) echo htmlspecialchars($product->image, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($product->minprice)) echo htmlspecialchars($product->minprice, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($product->maxprice)) echo htmlspecialchars($product->maxprice, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($product->colour)) echo htmlspecialchars($product->colour, ENT_QUOTES, 'UTF-8'); ?></td>	
                        <td><?php if (isset($product->weight)) echo htmlspecialchars($product->weight, ENT_QUOTES, 'UTF-8'); ?></td>	
                        <td><?php if (isset($product->size)) echo htmlspecialchars($product->size, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($product->legnth)) echo htmlspecialchars($product->weidth, ENT_QUOTES, 'UTF-8'); ?></td>	
				        <td><?php if (isset($product->weidth)) echo htmlspecialchars($product->legnth, ENT_QUOTES, 'UTF-8'); ?></td>	
				        <td><?php if (isset($product->minnumber)) echo htmlspecialchars($product->minnumber, ENT_QUOTES, 'UTF-8'); ?></td>	
				        <td><?php if (isset($product->type)) echo htmlspecialchars($product->type, ENT_QUOTES, 'UTF-8'); ?></td>	
				        <td><?php if (isset($product->category_id)) echo htmlspecialchars($product->category_id, ENT_QUOTES, 'UTF-8'); ?></td>	
				        <td><?php if (isset($product->historical_description)) echo htmlspecialchars($product->historical_description, ENT_QUOTES, 'UTF-8'); ?></td>	
				        <td><?php if (isset($product->digital_content_id)) echo htmlspecialchars($product->digital_content_id, ENT_QUOTES, 'UTF-8'); ?></td>	
				    </tr>
					
			<?php
			}
			
			?>
				</tbody>
			</table>
		</div>
	</div>

</div>
	</body>
   
</div>
